Give\DonationForms\Repositories\DonationFormRepository S

Total Complexity 43
Dependencies 21
Dependents 10
Total lines 482
Lines of code 277
Logical lines of code 112
Comment lines 105
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
insert()
S
42 5 54
getEnabledPaymentGateways()
S
54 7 21
getFormSchemaFromBlocks()
S
50 6 29
update()
S
45 3 44
getGatewayFormSettings()
S
58 3 16
delete()
S
56 2 19
getFormDataGateways()
S
58 2 15
validateProperties()
S
68 3 7
prepareQuery()
S
55 1 21
getDefaultEnabledGatewayId()
S
74 2 4
getTotalNumberOfDonors()
S
64 1 11
getById()
S
74 1 5
getTotalNumberOfDonorsFromSubscriptions()
S
73 1 5
getTotalNumberOfDonations()
S
75 1 5
getTotalNumberOfSubscriptions()
S
74 1 5
getTotalRevenue()
S
75 1 5
getTotalInitialAmountFromSubscriptions()
S
73 1 5
isLegacyForm()
S
80 1 3
__construct()
S
81 1 3